//app.js
App({
  globalData:{ 
    serverUrl:'https://daka.liujhlx.top',
    // serverUrl:'http://192.168.1.101:8080',
    // serverUrl:'http://10.115.13.224:8080',
    options:'',
    checkId:'',
    UserWechat:{
      lxUserId:'',
      lxOpenid:'',
      lxUserNumber:'',
      lxUsername:'',
      lxClazzName:'',
    },
    Checkwork:{
      id:'',
      lxCheckAging:'',
      lxCheckWorkName:'',
      lxClazzId:'',
      lxClazzName:'',
      lxReleaseTime:'',
      lxUserId:'',
      lxUsername:''
    },
    //位置区域范围
    latitudebegin:30.008000,
    latitudeend:33.012000,
    longitudebegin:113.992000,
    longitudeend:114.001000,
   },
  onLaunch: function () {
    wx.checkSession({
      success() {
        // session_key 未过期，并且在本生命周期一直有效
      },
      fail() {
        // session_key 已经失效，需要重新执行登录流程
        wx.login() // 重新登录
      }
    })
  },
  onShow (options) {
    // Do something when show.
  },
})